package edu.hwadee.BEIS.repository;

import java.util.Date;
import java.util.List;

import edu.hwadee.BEIS.entity.SchoolUser;
import org.springframework.data.jpa.repository.JpaRepository;

import edu.hwadee.BEIS.entity.OpenModify;

public interface OpenModifyRepository extends JpaRepository<OpenModify, Integer> {

	OpenModify findOneByTypeCode(Integer type_code);

	OpenModify findByTypeCodeAndSchoolUsers(Integer id, SchoolUser su);

}
